package com.yuyou.fn.portal.service;

import com.yuyou.fn.educational.entity.CourseOrder;
import com.yuyou.fn.portal.entity.OuterCourseClass;
import com.yuyou.fn.portal.vo.CourseClassResultVo;
import com.yuyou.fn.portal.vo.OuterCourseClassQueryVo;
import com.yuyou.fn.portal.vo.ScheduleInfoVo;
import com.yuyou.fn.portal.vo.StudentCourseClassVo;
import org.apache.poi.ss.formula.functions.T;
import org.springframework.data.domain.PageRequest;

import java.util.Date;
import java.util.List;

/**
 * Created by wens on 2017/4/6.
 */
public interface IOuterCourseClassService {

    List<OuterCourseClass> findCourseClassByGrade(String gradeName );
    List<OuterCourseClass> findByClassNameLike(String className,int pageNo,int pageSize);
    List<CourseClassResultVo> findByCondition(OuterCourseClassQueryVo outerCourseClassQueryVo, int pageNo, int pageSize);

    CourseClassResultVo findDetailByClassId(Long  classId);

    List<OuterCourseClass> findByClassIds(List<Long> classIds);

    OuterCourseClass findByClassId(Long classId);

    List<StudentCourseClassVo> findByUserId(Long userId);

    List<ScheduleInfoVo> findScheduleInfoByUserIdAndDate(Long userId, String dateString);
}
